<template>
    <div>
        商品详情{{ goodsId }}{{ id }}
    </div>
</template>
<script>
export default {
    data(){
        return{
            id:0,
            goods:{},
        }
    },
    props:['goodsId'],
    created(){
        this.id=this.$route.params.goodsId;
    }
}
</script>
<style scoped>

</style>